{
	"id":"${extention.id!''}",
	"extention":"${extention.extention!''}",
	"password":"${extention.password!''}",
	"hostid":"${extention.hostid!''}",
	"callout":"<#if models?? && models["sales"]?? && models["sales"] == true>${extention.callout!''}</#if>",
	"webrtc":"<#if extention.enablewebrtc?? && extention.enablewebrtc == true && pbxhost?? && pbxhost.enablewebrtc?? && pbxhost.enablewebrtc == true>true<#else>false</#if>",
	"callcenter":"<#if extention.record?? && extention.record == true>true<#else>false</#if>",
	"webrtchost":"<#if pbxhost??>${pbxhost.webrtcaddress!''}</#if>",
	"webrtcport":"<#if pbxhost??>${pbxhost.webrtcport!''}</#if>",
	"sipport":"<#if pbxhost??>${pbxhost.sipport!'5060'}<#else>5060</#if>",
	"webrtcssl":"<#if pbxhost?? && pbxhost.webrtcssl == true>true<#else>false</#if>",
	"webrtcring":"<#if pbxhost??>${pbxhost.webrtcring!''}</#if>",
	"previewring":"<#if pbxhost??>${pbxhost.previewring!''}</#if>",
	"answerring":"<#if pbxhost??>${pbxhost.answerring!''}</#if>",
	"enableice":<#if pbxhost?? && pbxhost.enableice?? && pbxhost.enableice && extention.record == false>${pbxhost.enableice}<#else>false</#if>,
	"enablestun":<#if pbxhost?? && pbxhost.enablestun?? && pbxhost.enablestun && extention.record == false>${pbxhost.enablestun!''}<#else>false</#if>,
	"stunserver":"<#if pbxhost??>${pbxhost.stunserver!''}</#if>",
	"stunserverport":"<#if pbxhost??>${pbxhost.stunserverport!''}</#if>",
	"enableturn":<#if pbxhost?? && pbxhost.enableturn?? && pbxhost.enableturn>${pbxhost.enableturn!''}<#else>false</#if>,
	"turnserver":"<#if pbxhost??>${pbxhost.turnserver!''}</#if>",
	"turnserverport":"<#if pbxhost??>${pbxhost.turnserverport!''}</#if>",
	"turntransport":"<#if pbxhost??>${pbxhost.turntransport!''}</#if>",
	"turnusername":"<#if pbxhost??>${pbxhost.turnusername!''}</#if>",
	"turncredential":"<#if pbxhost??>${pbxhost.turncredential!''}</#if>",
	"autoanswer":"${extention.autoanswer!''}",
	"orgi":"${extention.orgi!''}",
	"userid":"${user.id!''}",
	"agent":false
	,"opensips":<#if pbxhost?? && pbxhost.opensips == true>true<#else>false</#if>
	,"opensipsdomain":<#if pbxhost?? && pbxhost.opensipsdomain == true>true<#else>false</#if>
	,"mediapath":"<#if extention?? && extention.playnum && extention.mediapath??>/res/voice.html?id=${extention.mediapath!''}</#if>"
}